import { combineReducers } from 'redux';
import ChannelReducer from './channel';
import userReducer from './user';
import SearchReducer from './search';
import ArticleReducer from './articles';
import CommentReducer from './comment';

const rootReducer = combineReducers({
  user: userReducer,
  channel: ChannelReducer,
  search: SearchReducer,
  articles: ArticleReducer,
  comment: CommentReducer,
});

export default rootReducer;
